Page({
  onTapJump:function(event) {
    // wx.redirectTo({
    // wx.navigateTo({
    wx.switchTab({
      url: '../post/post',
      success: function(res) {
        console.log("jump success");
      },
      fail: function(res) {
        console.log("jump fail");
      },
      complete: function(res) {
        console.log("jump complete");
      },
    })
  },
  onUnload:function(event) {
    console.log("page is unload");
  },
  onHide:function(event) {
    console.log("page is hide");
  }
})